﻿<%@ Page Title="" Language="C#" MasterPageFile="~/common/Admin.master" AutoEventWireup="true" CodeFile="saving_applicant.aspx.cs" Inherits="product_saving_admin_saving_applicant" %>

<asp:Content ID="Content3" ContentPlaceHolderID="leftMenu" Runat="Server">
    <ul>
    <li><a href="<%= Page.ResolveUrl("~/product/saving/admin/saving_applicant.aspx")%>">
        Saving Account</a></li>
   
    <li><a href="<%= Page.ResolveUrl("~/product/fixed_deposit/admin/fd_applicant.aspx")%>">
        Fixed Deposit Account</a></li>
                   
    </ul>
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="content" Runat="Server">    
    <h1>
     
        List of saving account applicants</h1>
    <p>
        <asp:GridView ID="gvApplicants" runat="server" BackColor="White" 
            BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="3" 
            GridLines="Vertical" 
            onselectedindexchanged="gvApplicants_SelectedIndexChanged">
            <AlternatingRowStyle BackColor="#DCDCDC" />
           
            <Columns>
                <%--<asp:BoundField DataField="accountNo" HeaderText="accountNo" 
                    SortExpression="accountNo" />
                <asp:BoundField DataField="custID" HeaderText="custID" 
                    SortExpression="custID" />
                <asp:BoundField DataField="balance" HeaderText="productBalance" 
                    SortExpression="productBalance" />
                <asp:BoundField DataField="interestRate" HeaderText="productInterest" 
                    SortExpression="productInterest" />
                <asp:BoundField DataField="effectiveDate" HeaderText="productDate" 
                    SortExpression="productDate" />
                <asp:BoundField DataField="savingType" HeaderText="productType" 
                    SortExpression="productType" />--%>
                <asp:CommandField ButtonType="Button" SelectText="Details" 
                    ShowSelectButton="True" />
                
            </Columns>
           
            <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
            <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
            <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
            <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#F1F1F1" />
            <SortedAscendingHeaderStyle BackColor="#0000A9" />
            <SortedDescendingCellStyle BackColor="#CAC9C9" />
            <SortedDescendingHeaderStyle BackColor="#000065" />
        </asp:GridView>
    </p>
    <br />
    
    <asp:Label 
        ID="Label1" runat="server" Text="Calculator" Font-Bold="True" 
        Font-Overline="False" Font-Size="Large" ForeColor="#0000CC"></asp:Label>
    <table style="width:30%; border:1px solid black; background-color: lightgrey;">
        <tr>
            <td colspan="4" class="style1">
                </td>
        </tr>
        <tr>
            <td colspan="4">
                <asp:TextBox ID="DisplayTextBox1" runat="server" Height="27px" Width="192px" 
                    Font-Bold="True" Font-Size="X-Large" ReadOnly="True"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td colspan="4" height="30px">
                <asp:Label ID="DisplayLabel" runat="server" Font-Bold="True" 
                    Font-Size="X-Large"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style2">
                <asp:Button ID="Button21" runat="server" Height="36px" Text="(" 
                    Width="46px" onclick="Button21_Click" />
            </td>
            <td class="style3">
                <asp:Button ID="Button22" runat="server" Height="36px" Text=")" 
                    Width="46px" onclick="Button22_Click" />
            </td>
            <td class="style4">
                <asp:Button ID="Button24" runat="server" Height="36px" Text="DEL" 
                    Width="46px" onclick="Button24_Click" />
            </td>
            <td class="style5">
                <asp:Button ID="Button25" runat="server" Height="36px" Text="AC" 
                    Width="46px" onclick="Button25_Click" />
            </td>
        </tr>
        <tr>
            <td class="style2">
                <asp:Button ID="ButtonNumber7" runat="server" Height="36px" Text="7" 
                    Width="46px" onclick="ButtonNumber7_Click" />
            </td>
            <td class="style3">
                <asp:Button ID="ButtonNumber8" runat="server" Height="36px" Text="8" 
                    Width="46px" onclick="ButtonNumber8_Click" />
            </td>
            <td class="style4">
                <asp:Button ID="ButtonNumber9" runat="server" Height="36px" Text="9" 
                    Width="46px" onclick="ButtonNumber9_Click" />
            </td>
            <td class="style5">
                <asp:Button ID="ButtonNumberDevide" runat="server" Height="36px" Text="÷" 
                    Width="46px" BackColor="Silver" ForeColor="Black" 
                    onclick="ButtonNumberDevide_Click" />
            </td>
        </tr>
        <tr>
            <td class="style2">
                <asp:Button ID="ButtonNumber4" runat="server" Height="36px" Text="4" 
                    Width="46px" onclick="ButtonNumber4_Click" />
            </td>
            <td class="style3">
                <asp:Button ID="ButtonNumber5" runat="server" Height="36px" Text="5" 
                    Width="46px" onclick="ButtonNumber5_Click" />
            </td>
            <td class="style4">
                <asp:Button ID="ButtonNumber6" runat="server" Height="36px" Text="6" 
                    Width="46px" onclick="ButtonNumber6_Click" />
            </td>
            <td class="style5">
                <asp:Button ID="ButtonNumberMulti" runat="server" Height="36px" Text="X" 
                    Width="46px" BackColor="Silver" onclick="ButtonNumberMulti_Click" />
            </td>
        </tr>
        <tr>
            <td class="style2">
                <asp:Button ID="ButtonNumber1" runat="server" Height="36px" Text="1" 
                    Width="46px" onclick="ButtonNumber1_Click" />
            </td>
            <td class="style3">
                <asp:Button ID="ButtonNumber2" runat="server" Height="36px" Text="2" 
                    Width="46px" onclick="ButtonNumber2_Click" />
            </td>
            <td class="style4">
                <asp:Button ID="ButtonNumber3" runat="server" Height="36px" Text="3" 
                    Width="46px" ClientIDMode="AutoID" onclick="ButtonNumber3_Click" />
            </td>
            <td class="style5">
                <asp:Button ID="ButtonNumberMinus" runat="server" Height="36px" Text="_" 
                    Width="46px" BackColor="Silver" onclick="ButtonNumberMinus_Click" />
            </td>
        </tr>
        <tr>
            <td class="style2">
                <asp:Button ID="ButtonNumber0" runat="server" Height="36px" Text="0" 
                    Width="46px" onclick="ButtonNumber0_Click" />
            </td>
            <td class="style3">
                <asp:Button ID="ButtonNumberdot" runat="server" Height="36px" Text="." 
                    Width="46px" onclick="ButtonNumberdot_Click" />
            </td>
            <td class="style4">
                <asp:Button ID="ButtonNumberEqual" runat="server" Height="36px" Text="=" 
                    Width="46px" BackColor="Silver" onclick="ButtonNumberEqual_Click" />
            </td>
            <td class="style5">
                <asp:Button ID="ButtonNumberPlus" runat="server" Height="36px" Text="+" 
                    Width="46px" BackColor="Silver" onclick="ButtonNumberPlus_Click" />
            </td>
        </tr>
    </table>
    <br />
    <br />
    <table class="style6" style="margin-top:-200px; margin-left:250px;">
        <tr>
            <td class="style7">
                        Interest rates of S$</td>
            <td class="style8">
                        <asp:TextBox ID="tbAmount" runat="server"></asp:TextBox>
                        </td>
        </tr>
        <tr>
            <td class="style7">
                <strong>Account Type &amp; Number</strong></td>
            <td class="style8">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style7">
                Type :
            </td>
            <td class="style8">
                        <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True">
                            <asp:ListItem Value="ps">PowerSave Saving Account</asp:ListItem>
                            <asp:ListItem Value="ks">Kids Saver Saving Account</asp:ListItem>
                        </asp:DropDownList>
                        </td>
        </tr>
        <tr>
            <td class="style7">
                To :</td>
            <td class="style8">
                        <asp:TextBox ID="tbTo" runat="server"></asp:TextBox>
                        </td>
        </tr>
        <tr>
            <td class="style7">
                &nbsp;</td>
            <td class="style8">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style7">
                        <asp:Button ID="btnSubmit" runat="server"  
                            Text="Submit" onclick="btnSubmit_Click" />
                    </td>
            <td class="style8">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style7">
                <asp:Label ID="Label2" runat="server" Text=""></asp:Label>
            </td>
            <td class="style8">
                &nbsp;</td>
        </tr>
    </table>


<script type="text/javascript">
    function toggle_visibility(id) {
        var list = document.getElementsByClassName("calculator");
        for (var i = 0; i < list.length; i++) {
            list[i].style.display = 'none';
        }
        var e = document.getElementById(id);
        if (e.style.display == 'block') {
            e.style.display = 'none';
        } else {
            e.style.display = 'block';
        }
    }
</script>
    

</asp:Content>
<asp:Content ID="Content5" runat="server" contentplaceholderid="html_js">
<script type="text/javascript">
    $(document).ready(function () {
        try {
            $("#accordion").accordion();
        } catch (e) {
            console.error(e);
        }

        try {
            $("#tabs").tabs();
        } catch (e) {
            console.error(e);
        }
    });
    </script>
    <style type="text/css">
        .style1
        {
            height: 23px;
        }
        .style2
        {
            width: 31px;
        }
        .style3
        {
            width: 32px;
        }
        .style4
        {
            width: 40px;
        }
        .style5
        {
            width: 25px;
        }
        .style6
        {
            width: 53%;
        }
        .style7
        {
            width: 210px;
        }
        .style8
        {
            width: 116px;
        }
    </style>
</asp:Content>
